package com.sh.data.engine.domain.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sh.data.engine.domain.api.model.domain.DataApiRecordSummaryDomain;
import com.sh.data.engine.domain.api.model.domain.DataApiReqTrendSummaryDomain;
import com.sh.data.engine.repository.dao.api.entity.DataApiCallStatisticsEntity;

import java.util.List;

/**
 * @author : fuchen
 * @date : 2022/1/19 15:35
 */
public interface DataApiCallStatisticsService extends IService<DataApiCallStatisticsEntity> {

    List<DataApiReqTrendSummaryDomain> getDataApiReqTrendSummary(
        String startDate, String endDate, Long projectId, String userId);

    DataApiRecordSummaryDomain getDataApiRecordSummaryDomain();

}
